<h1>Contents</h1>

{if $CONTEXT.param.cid > 0}
<div class="right">
<form name="filterform" method="get">
<input type="hidden" name="op" value="call">
<input type="hidden" name="cid" value="{$CONTEXT.param.cid}" />
{pp_inputcheckbox name="nolimit" value="1" label="1" output="No Limit"}
{pp_inputcheckbox name="check" value="1" label="1" output="Check"}
<label><a href="{$CONTEXT.ADMINURL}content/?op=call&cid={$CONTEXT.param.cid}" onclick="document.filterform.submit();return false;" class="btn">Call</a></label>
</form>
</div>
{/if}

<form name="searchform" method="get">
{if $CONTEXT.param.op}{pp_inputhidden name="op"}{/if}
Keyword: {pp_inputtext name="keyword" value=""}
{pp_inputoptions name="cid" options=$CONTENT.categories_options selected=$CONTENT.item.cid style="Select Category" onchange="if(this.value=='')this.disabled='disabled';this.form.submit()"}
{pp_inputcheckbox name="recommend" value="1" label="1" output="Recommend"}
{pp_inputcheckbox name="top" value="1" label="1" output="Top"}
</form>

<div class="sbox" style="height: 20px; padding: 10px; border: 1px solid #AAA; background-color: #DADADA;">
<a href="{$CONTEXT.ADMINURL}content/" class="btn {if $CONTEXT.param.type == ''}btn_cc{/if}">Contents</a>
<a href="{$CONTEXT.ADMINURL}content/?type=blog" class="btn {if $CONTEXT.param.type == 'blog'}btn_cc{/if}">Blog</a>
<a href="{$CONTEXT.ADMINURL}content/?type=event" class="btn {if $CONTEXT.param.type == 'event'}btn_cc{/if}">Event</a>
</div>
